[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 V_GETWNDRC()
 Return the rows or columns from a Proclip window stored in a DBV file
-------------------------------------------------------------------------------

 Syntax

    V_GETWNDRC( <cPointer>, <cRowOrCol> )    ->    nValue

 Arguments

    <cPointer> is a six byte pointer-field (FlexFile's version of a
    memo-field).

    <cRowOrCol> is either an 'R' or a 'C' (non case sensitive)
    requesting the row or column respectively.

 Returns

    V_GETWNDRC() returns the rows or columns of a Proclip window in a
    DBV file much like Proclip's WNDVROWS() and WNDVCOLS() would.

 Description

    V_GETWNDRC() is used to query a Proclip window that has been saved
    to a DBV. The rows and columns are the virtual rows and columns
    and not the rows and columns of a viewport that may have been
    active when the window was V_REPLACE()d.


 Examples

    // Create a proclip window
    pc_handle = WNDCREATE( 5, 10 )

    // Save the window to a DBV file
    REPLACE vlf WITH V_REPLACE( pc_handle, , , 'P' )

    // Show the rows and columns of the window.
    ? V_GETWNDRC( vlf, 'R' ) // Result: 5
    ? V_GETWNDRC( vlf, 'C' ) // Result: 10

See Also: V_REPLACE() V_TYPE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson